package com.example.common.exception;

import com.example.common.util.ResultCodeRecord;

public class CustomException extends RuntimeException {

    private final ResultCodeRecord resultCodeRecord;

    public CustomException(ResultCodeRecord resultCodeRecord){
        this.resultCodeRecord = resultCodeRecord;
    }

    public ResultCodeRecord getAppHttpCodeEnum() {
        return resultCodeRecord;
    }
}
